package com.iespring.service.poromotion;

import com.iespring.bean.admin.promotion.bo.MallCouponBo;
import com.iespring.bean.admin.promotion.bo.MallCouponForCreateBo;
import com.iespring.bean.admin.promotion.po.MallCoupon;
import com.iespring.bean.admin.promotion.po.MallCouponUser;
import com.iespring.bean.common.BasePageInfo;
import com.iespring.bean.common.BaseRespVo;
import com.iespring.bean.common.CommonData;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author:ZhangShuPeng
 * @Date:2022/12/29/15:05
 * @Description:
 */
public interface PromotionCouponService {

    CommonData<MallCoupon> list(BasePageInfo info, String name, Short type, Short status);

    BaseRespVo create(MallCouponForCreateBo mallCouponForCreateBo);

    BaseRespVo update(MallCouponBo mallCouponBo);

    int delete(MallCoupon mallCoupon);

    CommonData<MallCouponUser> listuser(BasePageInfo info, int couponId);

    MallCoupon read(int id);
}
